package com.example.chao.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: WangYongChao
 * @Date: 2021/08/10/22:14
 * @Description: 枚举类
 */

public enum SexEnum implements IEnum<String> {
    MAN("1", "男"),
    WOMEN("2","女");

    private String value;

    private String name;

    private SexEnum(String value, String name){
        this.name = name;
        this.value = value;
    }

    @Override
    public String getValue() {
        return value;
    }
}
